package org.spring.oss;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ConfigurationProperties(prefix = "oss")
public class OssConfig implements Serializable {
    private String region;
    private String accessKey;
    private String accessSecretKey;
    private String bucket;
    private String endPoint;
    private String ossType;
}
